#include "core.h"
#include <iostream>
#include <string>

using namespace std;
Core::Core()
{
	graph = NULL;
}
Core::~Core()
{}
void Core::Init(const char* measure)
{
	cout<<"Initializing core for "<<measure<<endl;
	cout<<"Reading Parameters"<<endl;
	arg = new Arg;
	arg->Configure(measure);
	cout<<"Initializing graph"<<endl;
	graph = new Graph;
	graph->ReadGraph(arg->GetValue("graph")[0].c_str());
}
